<!--http://www.12301.cc/member_accredits.html?did=1229&vcode=479-->
<?php

	//图片上传地址
	$upload_api = "module/pwk/control/account_info_new.php";

    //默认没上传图片时显示的default img
    $default_img = "http://www.12301.cc/tpl/membercard/images/defaultThum.gif";

	//公司类型
	$com_type = $var["com_type"];

	$did = $var["did"];

	//身份证正面图片url
	$id_card_hand = $var["id_card_hand"];

	//身份证背面图片url
	$id_card_B = $var["id_card_B"];

	//其它证件图片url
	$other_les = $var["other_les"];

	//营业执照图片url
	$bsn_les = $var["bsn_les"];

	//营业许可证url
	$opt_les = $var["opt_les"];

	//税务登记证url
	$tax_les = $var["tax_les"];

	//组织机构代码证url
	$org_les = $var["org_les"];

	//资源方授权书url
	$auth_les = $var["auth_les"];
?>

<link rel="stylesheet" href="http://www.12301.cc/css/common/www.12301.cc.global.css"/>
<link rel="stylesheet" href="http://www.12301.cc/tpl/membercard/css/membercard.common.css"/>
<link rel="stylesheet" href="http://www.12301.cc/tpl/membercard/css/mem_certify.css"/>
<!--[if lt IE 7]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 lt-ie8 lt-ie7 ie6 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 7]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 lt-ie8 ie7 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 8]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 lt-ie9 ie8 memCertifyContainer commonRigContainer"> <![endif]-->
<!--[if IE 9]><div id="memCertifyContainer" style="padding-top:0" class="lt-ie10 ie9 memCertifyContainer commonRigContainer"><![endif]-->
<!--[if gt IE 9]><!--><div id="memCertifyContainer" style="padding-top:0" class="memCertifyContainer commonRigContainer"> <!--<![endif]-->
	<input name="" id="hidInp_com_type" value="<?=$com_type?>" type="hidden"/>
	<input name="" id="hidInp_did" value="<?=$did?>" type="hidden"/>
<!--	<div id="tabHead" class="tabHead"><span class="tabNav">会员信息</span><span class="tabNav active">资质认证</span><span class="tabNav">会员卡信息</span></div>-->
	<div class="formContainer" style="padding-top:0">
<!--		<div class="memberIdNumLine">-->
<!--			<span class="t">身份证号码：</span>-->
<!--			<input type="text" name="" class="formInp memberIdNumInp" id="id_card_input"/>-->
<!--			<span class="tip" style="color:#f37138">必须和支付宝实名信息一致</span></br>-->
<!--			<span class="t" style="visibility:hidden">身份证号码：</span>-->
<!--			<span id="idcardErrorTip" class="error tip" style="color:#e12424; padding-top:5px; display:none">*请输入正确格式的身份证号</span></br>-->
<!--		</div>-->
	<? if($com_type=="个人"){ ?>
		<div style="margin-top:10px" class="uploadBox">
			<div class="fbox lt">
				<p class="tit">手持身份证正面<span class="require tip">(必传)</span></p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_1" class="imgW ui-upload-container" style="background-image:url('<?=$id_card_hand?>')">
							<input id="id_card_hand_hid_inp" value="<?=$id_card_hand?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传手持身证正面" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_1_iframe"></iframe>
							<form id="sssform" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_1_iframe">
								<label for="imgupload_file_1">
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
									<input type="file" name="id_card_hand" class="fileInp" id="imgupload_file_1"/>
								</label>
								<input name="callback" value="imgUpload_1.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="hidden" name="tt" value="id_card_hand"/>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">手持身份证背面<span class="require tip">(必传)</span></p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_2" class="imgW ui-upload-container" style="background-image:url('<?=$id_card_B?>')">
							<input id="id_card_B_hid_inp" value="<?=$id_card_B?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="手持身份证背面" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_2_iframe"></iframe>
							<form id="" action="<?=$upload_api?>"  target="imgLoador_2_iframe" enctype="multipart/form-data" method="post">
								<label for="imgupload_file_2">
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
									<input type="file" name="id_card_B" class="fileInp" id="imgupload_file_2"/>
								</label>
								<input name="callback" value="imgUpload_2.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="hidden" name="tt" value="id_card_B"/>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">其它证件（驾驶证或导游证）</p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_3" class="imgW ui-upload-container" style="background-image:url('<?=$other_les?>')">
							<input id="other_les_hid_inp" value="<?=$other_les?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_3_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_3_iframe">
								<label for="imgupload_file_3"><i class="iconfont">&#xe675;</i><span class="t">上传图片</span></label>
								<input name="callback" value="imgUpload_3.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="file" name="other_les" class="fileInp" id="imgupload_file_3"/>
								<input type="hidden" name="tt" value="other_les"/>
								<span class="ie8formsubmitBtn"></span>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
	<?}else{?>
		<!--企业或组织-->
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">营业执照（正本）<span class="require tip">(必传)</span></p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_bsn_les" class="imgW ui-upload-container" style="background-image:url('<?=$bsn_les?>')">
							<input id="bsn_les_hid_inp" class="imgurl hidInp_imgurl" value="<?=$bsn_les?>" data-require="true" data-msg="请上传营业执照（正本）" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_bsn_les_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_bsn_les_iframe">
								<label for="imgupload_file_bsn_les">
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
									<input type="file" name="bsn_les" class="fileInp" id="imgupload_file_bsn_les"/>
								</label>
								<input name="callback" class="hidInp_callback" value="imgUpload_bsn_les.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="hidden" name="tt" value="bsn_les"/>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">开户许可证/经营许可证（正本）</p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_opt_les" class="imgW ui-upload-container" style="background-image:url('<?=$opt_les?>')">
							<input id="opt_les_hid_inp" value="<?=$opt_les?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_opt_les_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_opt_les_iframe">
								<label for="imgupload_file_opt_les"><i class="iconfont">&#xe675;</i><span class="t">上传图片</span></label>
								<input name="callback" class="hidInp_callback" value="imgUpload_opt_les.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="file" name="opt_les" class="fileInp" id="imgupload_file_opt_les"/>
								<input type="hidden" name="tt" value="opt_les"/>
								<span class="ie8formsubmitBtn"></span>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">税务登记证<span class="require tip">(必传)</span></p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_tax_les" class="imgW ui-upload-container" style="background-image:url('<?=$tax_les?>')">
							<input id="tax_les_hid_inp" value="<?=$tax_les?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传税务登记证" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_tax_les_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_tax_les_iframe">
								<label for="imgupload_file_tax_les">
									<input type="file" name="tax_les" class="fileInp" id="imgupload_file_tax_les"/>
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
								</label>
								<input name="callback" class="hidInp_callback" value="imgUpload_tax_les.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<input type="hidden" name="tt" value="tax_les"/>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">组织机构代码证<span class="require tip">(必传)</span></p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_org_les" class="imgW ui-upload-container" style="background-image:url('<?=$org_les?>')">
							<input id="org_les_hid_inp" value="<?=$org_les?>" class="imgurl hidInp_imgurl" data-require="true" data-msg="请上传组织机构代码证" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_org_les_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_org_les_iframe">
								<label for="imgupload_file_org_les">
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
									<input type="file" name="org_les" class="fileInp" id="imgupload_file_org_les"/>
								</label>
								<input name="callback" class="hidInp_callback" value="imgUpload_org_les.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>

								<input type="hidden" name="tt" value="org_les"/>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
		<div class="uploadBox">
			<div class="fbox lt">
				<p class="tit">资源方授权书</p>
				<div class="boxCon">
					<div class="photoWrap">
						<div id="imgLoaderContainer_auth_les" class="imgW ui-upload-container" style="background-image:url('<?=$auth_les?>')">
							<input id="auth_les_hid_inp" value="<?=$auth_les?>" class="imgurl hidInp_imgurl" name="" type="hidden"/>
							<iframe frameborder="0" name="imgLoador_auth_les_iframe"></iframe>
							<form id="" action="<?=$upload_api?>" enctype="multipart/form-data" method="post" target="imgLoador_auth_les_iframe">
								<label for="imgupload_file_auth_les">
									<i class="iconfont">&#xe675;</i><span class="t">上传图片</span>
									<input type="file" name="auth_les" class="fileInp" id="imgupload_file_auth_les"/>
								</label>
								<input name="callback" class="hidInp_callback" value="imgUpload_auth_les.oncomplete" type="hidden"/>
								<input name="action" value="UploadImage" type="hidden"/>
								<span class="ie8formsubmitBtn"></span>
							</form>
							<div class="loading">
								<div class="loadingCon">
									<img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在上传...</span>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			<div class="fbox rt">
				<p class="tit">示例</p>
				<div class="boxCon">
					<div class="picW"><img src="http://www.12301.cc/tpl/membercard/images/s4.jpg" alt=""/></div>
					<ol class="ol">
						<li>1、身份证上的文字清晰可辨</li>
						<li>2、身份证上的文字清晰可辨</li>
						<li>3、身份证上的文字清晰可辨</li>
						<li>4、身份证上的文字清晰可辨</li>
						<li>5、身份证上的文字清晰可辨</li>
					</ol>
				</div>
			</div>
		</div>
	<?}?>






		<div class="buttonW"><a id="saveBtn" class="saveBtn" href="#">提交保存</a></div>
		<div id="formLoading" style="display:none" class="formLoading"><div class="con"><img src="http://www.12301.cc/images/icons/gloading.gif" alt=""/><span class="t">正在保存...</span></div></div>
	</div>













</div>
<script type="text/javascript" src="http://www.12301.cc/js/global/www.12301.cc.global.js"></script>
<script type="text/javascript" src="http://wx.12301.cc/public/js/common/class.js"></script>
<script type="text/javascript" src="http://www.12301.cc/tpl/membercard/js/membercard.renzheng.js"></script>
